<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>登录</title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">

    <!-- 可选的Bootstrap主题文件（一般不用引入） -->
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">

    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="http://cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="http://cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>

    <link rel="stylesheet" href="/css/font-awesome.css">
    <link rel="stylesheet" href="/css/base.css">

    <script type="text/javascript" src="/js/login.js"></script>
    <script type="text/javascript" src="/js/base.js"></script>
    <style>
        html, body {
            margin: 0;
            height: 100%;
        }

        .login {
            text-align: center;
            width: 300px;
            border-radius: 0.5rem;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: 10px auto;
            background-color: #555;
            padding: 20px;
        }

        h2 {
            margin-bottom: 20px;
            font-weight: normal;
            color: #EFEFEF;
        }

        input {
            width: 100%;
            margin-bottom: 17px;
            padding: 15px;
            background-color: #ECF4F4;
            border-radius: 2px;
            border: none;
        }

        .loginButton {
            /*width: 45%;*/
            padding: 10px;
            margin-right: 10%;
        }

        .buttonWrapper {
            position: relative;
            overflow: hidden;
            height: 50px;
        }

        .centers {
            height: 300px;
            width: 400px;
            text-align: center;
            margin-top: 10%;
        }

    </style>
</head>
<body>
<div id="top">

</div>
<div class="login centers">
    <form id="loginFrom" role="form" class="form-horizontal">
        <h2 style="color: white;">登录</h2>

        <div class="form-group">

            <div class="col-sm-12">
                <input type="text" class="form-control" id="userName1" style="margin-bottom: 10px;" required
                       placeholder="请输入账号" autofocus>
            </div>

            <div class="col-sm-12">
                <input type="password" required class="form-control" id="password1" placeholder="请输入密码">
            </div>
        </div>
        <div class="buttonWrapper">
            <button type="submit" id="login" class="col-sm-12 loginButton btn btn-primary">登录</button>
        </div>
    </form>
</div>
</body>

</html>